﻿// Copyright (C) 2012 Kim Jensen, TaskJunction.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaskJunctionLib.Mapping.JSON;
using TaskJunctionLib.Model;

namespace TaskJunctionLib.Repository
{
    public class IterationStatusRepository : CachableRepository<IterationStatus, IterationStatusMapper>, IIterationStatusRepository
    {
        protected override string GetResourceName()
        {
            return "iteration_statuses";
        }

        public IList<IterationStatus> LoadList()
        {
            return _LoadList(GetResourceName());
        }
    }
}
